<?
include ('header.php');
if(!isset($data['id'])){
echo "<script>document.location.href='index.php'</script>";
exit;
}
?>






<div class="block medium right">
			<div class="top">	
                  <h1>Transfer Coins</h1>
            </div>
			<div class="content">
			<div class="infobox">
			<center>


<?
$page_name=$_SERVER['HTTP_REFERER'];





if ($page_name=='transferdone.php' || $page_name=='transferdone.php'){ ?>


<h3>Success!</h3>
<font size=4>Transfer completed</font>

<? } else {  ?>

<h3>Transfer coins to any Member</h3>
<a href="transfer-history.php"><button>Transfer History</button></a>

<form action="transferconfirm.php" method="post">
<font color="black">Transfer to Username: </font><input type="text" name="member" value=""><BR><BR>
<font color="black">Amount of coins: </font><input type="text" name="coins" value=""><Br><BR>



<input type="Submit" value="Submit Transfer" />
<BR><BR>
<font color="black">
Transfers are final, transfer to members you know well.
<BR>
There is no recourse for coins transfered in error!
</font>

<? } ?>




<BR><BR>


</div>
</div>
</div>

<?
include ('footer.php'); ?>






 